/* =============================================================
   MANUFACTURING PAGE – Premium Redesign
   PT Indal Steel Pipe
   ============================================================= */

/* ===================== HERO SECTION ===================== */

.mfg-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #000;
}

.mfg-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mfg-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    animation: mfgHeroZoomOut 8s linear forwards;
    opacity: 0.55;
}

@keyframes mfgHeroZoomOut {
    from { transform: scale(1.06); }
    to { transform: scale(1); }
}

.mfg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.98) 0%,
            rgba(0, 0, 0, 0.6) 40%,
            rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.mfg-hero-content {
    position: relative;
    z-index: 10;
    padding: 60px 0 72px;
    width: 100%;
    color: #fff;
}

.mfg-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 22px;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.mfg-hero-label i {
    color: var(--accent, #d52b1e);
}

.mfg-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.mfg-hero-content h1 span {
    color: var(--accent, #d52b1e);
}

.mfg-hero-content p {
    font-size: clamp(1.1rem, 2.2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    line-height: 1.7;
}

/* ===================== PLANTS SECTION ===================== */

.mfg-plants {
    padding: 100px 0;
    background: var(--bg-light, #f8f9fa);
}

.section-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent, #d52b1e);
    margin-bottom: 16px;
}

.align-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.align-center h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.align-center h2 span {
    color: var(--accent, #d52b1e);
}

.plants-grid {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.plant-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.plant-card.alt {
    grid-template-columns: 1fr 1.2fr;
}

.plant-content {
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.plant-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--accent, #d52b1e);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.plant-content h3 {
    font-size: 2.2rem;
    font-weight: 850;
    margin-bottom: 20px;
    color: var(--text-dark, #111);
    letter-spacing: -0.02em;
}

.plant-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light, #666);
    margin-bottom: 30px;
}

.plant-specs {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plant-specs li {
    font-size: 14px;
    color: var(--text-mid, #333);
    padding-left: 20px;
    position: relative;
}

.plant-specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent, #d52b1e);
    border-radius: 50%;
}

.plant-image {
    position: relative;
    overflow: hidden;
}

.plant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.plant-card:hover .plant-image img {
    transform: scale(1.05);
}

/* ===================== PROCESS SECTION ===================== */

.mfg-process {
    padding: 100px 0;
    background: #fff;
}

.process-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.process-text h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 24px;
}

.process-text h2 span {
    color: var(--accent, #d52b1e);
}

.process-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.process-item {
    display: flex;
    gap: 20px;
}

.process-item .icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light, rgba(139, 26, 26, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent, #d52b1e);
    font-size: 18px;
    flex-shrink: 0;
}

.process-item h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-dark, #111);
}

.process-item p {
    font-size: 14px;
    color: var(--text-light, #666);
}

.process-visual {
    position: relative;
}

.process-visual img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.floating-badge {
    position: absolute;
    top: -30px;
    right: -30px;
    background: var(--accent, #d52b1e);
    color: #fff;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 40px rgba(139, 26, 26, 0.3);
    z-index: 5;
}

.floating-badge .num {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

.floating-badge .txt {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    white-space: nowrap;
}

/* ===================== CTA SECTION ===================== */

.mfg-cta {
    padding: 100px 0;
    background: #111;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.mfg-cta h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.mfg-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    padding: 16px 32px;
    background: var(--accent, #d52b1e);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-primary:hover {
    background: var(--accent-dark, #b82316);
    transform: translateY(-3px);
}

.btn-outline-white {
    padding: 16px 32px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-outline-white:hover {
    background: #fff;
    color: #111;
    transform: translateY(-3px);
}

/* ===================== SCROLL REVEAL ===================== */

.will-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.will-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 1100px) {
    .plant-card, .plant-card.alt {
        grid-template-columns: 1fr;
    }
    .plant-image { height: 350px; }
}

@media (max-width: 900px) {
    .process-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .process-visual { width: 80%; margin: 0 auto; }

    .mfg-plants,
    .mfg-process {
        padding: 70px 0;
    }

    .mfg-cta {
        padding: 70px 0;
    }
}

@media (max-width: 768px) {
    .mfg-hero {
        height: 70vh;
        min-height: 480px;
    }

    .mfg-hero-content {
        padding: 40px 0 60px;
    }

    .mfg-plants,
    .mfg-process {
        padding: 60px 0;
    }

    .mfg-cta {
        padding: 60px 0;
        text-align: center;
    }

    .mfg-cta h2 {
        font-size: 2rem;
    }

    .mfg-cta p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .process-visual {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .mfg-hero { height: 65vh; min-height: 420px; }
    .align-center h2, .process-text h2 { font-size: 1.9rem; }
    .plant-content { padding: 36px 24px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .floating-badge { padding: 20px; top: -10px; right: -10px; position: relative; top: auto; right: auto; margin: 20px auto 0; width: fit-content; }
    .floating-badge .num { font-size: 1.5rem; }
    .plant-specs li { font-size: 13px; }

    .mfg-plants,
    .mfg-process,
    .mfg-cta {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .mfg-hero-label {
        font-size: 10px;
        padding: 8px 16px;
        letter-spacing: 1.5px;
    }

    .mfg-hero-content h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .plant-content h3 {
        font-size: 1.8rem;
    }

    .process-item {
        gap: 14px;
    }

    .process-item .icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ===================== DARK MODE SUPPORT ===================== */

body.dark-mode .mfg-plants,
body.dark-mode .mfg-process {
    background: var(--bg);
}

body.dark-mode .plant-card,
body.dark-mode .process-item .icon {
    background: var(--card-bg);
    border-color: var(--border);
    box-shadow: var(--shadow-md);
}

body.dark-mode .plant-content h3,
body.dark-mode .process-item h4 {
    color: var(--text);
}

body.dark-mode .plant-content p,
body.dark-mode .process-item p,
body.dark-mode .plant-specs li {
    color: var(--text-light);
}

body.dark-mode .process-visual img {
    box-shadow: var(--shadow-lg);
}
